<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/include/include.jsp" %>
<html>
  <head>
    <title><fmt:message key="alvin.title" /></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="${ctx}styles/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="${ctx}styles/bootstrap-responsive.min.css" rel="stylesheet" />
    <link href="${ctx}styles/bootswatch.css" rel="stylesheet" />
    <link href="${ctx}styles/font-awesome.min.css" rel="stylesheet" />
    <link href="${ctx}styles/style.css" rel="stylesheet" />
    <script src="http://code.jquery.com/jquery.js"></script>
    <script src="${ctx}scripts/bootstrap.min.js"></script>
    <decorator:head />
  </head>
  <body class="index">
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner"><div class="container">
			<a class="brand" href="${ctx}home.htm"><fmt:message key="alvin.brand" /></a>
			<div id="main-menu" class="nav-collapse collapse">
				<c:if test="${SPRING_SECURITY_CONTEXT.authentication.principal.id != null}"><ul id="main-menu-left" class="nav">
					<li><a href="${ctx}home.htm"><fmt:message key="menu.exchange" /></a></li>
					<li><a href="${ctx}records.htm?id=${SPRING_SECURITY_CONTEXT.authentication.principal.id}"><fmt:message key="menu.mybouns" /></a></li>
				</ul></c:if>
				<ul id="main-menu-right" class="nav pull-right">
					<c:if test="${SPRING_SECURITY_CONTEXT.authentication.principal.id != null}"><li class="li-welcome"><fmt:message key="login.welcome" />&nbsp;${SPRING_SECURITY_CONTEXT.authentication.principal.userName}${SPRING_SECURITY_CONTEXT.authentication.principal.gender.displayName}</li>
					<li><a href="${ctx}j_spring_security_logout"><fmt:message key="common.logout" />&nbsp;<i class="icon-share-alt"></i></a></li></c:if>
				</ul>
			</div>
		</div></div>
	</div>
	<div class="container">
	<decorator:body />
	</div>
</body>
</html>